package com.oto.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author xueqiang.mi
 * @since 2011-1-9
 */
public class Pack implements Serializable {
	private static final long serialVersionUID = -1138925767902804197L;

	private String name;
	private List<Flow> flows;

	public List<Flow> getFlows() {
		if (flows == null) {
			flows = new ArrayList<Flow>();
		}
		return flows;
	}

	public String getName() {
		return name;
	}

	public void setFlows(List<Flow> flows) {
		this.flows = flows;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Pack [flows=" + flows + ", name=" + name + "]";
	}
}
